const express = require('express');


const app = express();

app.get('/set-cookie',(req, res) => {
    res.cookie('name','cty',{maxAge:1000*60});
    res.send('设置成功');
})

app.listen(3000,() => {
    console.log('服务已开启。。。。');
})